<template>
  <el-container>
    <!-- 侧边栏 -->
    <el-aside width="auto">
      <nav-side></nav-side>
    </el-aside>

    <!-- 右侧内容 -->
    <el-container>
      <!-- 右侧头部 -->
      <el-header></el-header>

      <!-- 右侧内容区域-路由驱动 -->
      <el-main> <router-view /> </el-main>
    </el-container>
  </el-container>
</template>

<script lang="ts" setup>
import NavSide from './navSide/index.vue'
import navHeader from './navHeader/index.vue'
</script>

<style scoped>
.el-container{
  height: 100vh;
  background-color: #f9f9f9;
}
</style>